package com.qiongqi.datadir.handler;

import com.qiongqi.datadir.domain.BucketData;
import org.apache.ibatis.type.JdbcType;
import org.apache.ibatis.type.MappedJdbcTypes;
import org.apache.ibatis.type.MappedTypes;

import java.util.List;

@MappedJdbcTypes(JdbcType.VARCHAR)
@MappedTypes(List.class)
public class BucketDataListTypeHandler extends JacksonListTypeHandler<BucketData>{
    public BucketDataListTypeHandler() {
        super(BucketData.class);  // 关键：传递元素类型给父类
    }
}
